/*
 * raw.h
 *
 *  Created on: 2013-3-3
 *      Author: joey
 */

#ifndef RAW_H_
#define RAW_H_

typedef  unsigned short RAW_U16;
typedef  unsigned int RAW_U32;
typedef  unsigned char RAW_U8;
typedef char RAW_S8;
typedef void* MEM_POOL;
typedef void* RAW_HDL;

#define CONFIG_RAW_IDLE_EVENT (1)
#define RAW_FSM_ACTIVE (1)

#define RAW_SUCCESS (0)
#define MAX_IDLE_EVENT_TASK (2)
#define RAW_TICKS_PER_SECOND (1000)
#define RAW_ASSERT

#define vc_port_printf printf
#define raw_sleep usleep
#define RAW_SR_ALLOC()
#define RAW_CRITICAL_ENTER()
#define RAW_CRITICAL_EXIT()

#endif /* RAW_H_ */
